
module.exports = {

  //基本路径
  publicPath: "./",

  //outputDir: "public",
  //放置静态资源目录
  assetsDir: "static",

  //indexPath: "index.html", html输出路径 默认 index.html
  devServer: {
    port: 23333,
    proxy: {
      "/api": {
        target: "http://localhost:23333",
        changeOrigin: true,
        pathRewrite: {
          "^/api": ""
        }
      }
    },
    overlay: {
      warning: false,
      errors: false
    }
  },
  lintOnSave: false,
  pwa: {
    iconPaths: {
      favicon32: 'favicon.ico',
      favicon16: 'favicon.ico',
      appleTouchIcon: 'favicon.ico',
      maskIcon: 'favicon.ico',
      msTileImage: 'favicon.ico'
    }
  }

};
